package com.dd.machine.main.HardwareUtils;

import com.dd.machine.main.Interface.HardwareInterface;
import com.ensentec.Lib.Printer;

/**
 * Created by LZX on 2017/8/1.
 */

public class PrinterUtils {
    HardwareInterface hardwareInterface;

    public PrinterUtils(HardwareInterface hardwareInterface) {
        this.hardwareInterface = hardwareInterface;
    }

    public void setPrinter(String type, String no){
        hardwareInterface.print(type,no);
    }
}
